package com.yiyuan.app.entity.result;

import com.guaike.core.entity.annotation.DictConvert;
import com.yiyuan.app.entity.constant.BusinessDictCodeConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: zhangxilin
 * @Date: 2024/5/31
 */
@ApiModel("房间实体")
@Data
public class RoomVO implements Serializable {

    @ApiModelProperty("是否可进入,为false直接跳vip页面")
    private Boolean isGoInto;

    @ApiModelProperty("房间id")
    private Long id;

    @ApiModelProperty("房间名称")
    private String roomName;

    @ApiModelProperty("倍数类型(0:低倍场，1：高倍场)")
    @DictConvert(code = BusinessDictCodeConstant.ROOM_MULTIPLE_TYPE)
    private Integer multipleType;

    @ApiModelProperty("街机背景图")
    private String backUrl;

    @ApiModelProperty("消耗松果数")
    private Integer multipleValue;

    @ApiModelProperty("围观人数")
    private Integer lookPersons;

    @ApiModelProperty("拉流地址")
    private String accessUrl;

    @ApiModelProperty("房间状态（1：空闲，2：热玩中，3：维修中,4:离线，5：当前用户可直接进行游戏）")
    @DictConvert(code = BusinessDictCodeConstant.GAME_ROOM_STATUS)
    private Integer roomStatus;

    @ApiModelProperty("设备列表")
    private List<BaseDeviceVO> deviceList;
}
